import { RouteRecordRawMy } from "vue-router";
export interface UserTypes {
    isLogin: boolean;
    menuRoutes: RouteRecordRawMy[];
}
const state: UserTypes = {
    isLogin: false,
    menuRoutes: []
};
const mutations = {
    SET_IS_LOGIN(state: UserTypes, val: boolean) {
        state.isLogin = val;
    },
    SET_MENU_ROUTES(state: UserTypes, val: RouteRecordRawMy[]) {
        state.menuRoutes = val;
    },
};
const actions = {
};

export default {
    namespaced: true,
    state,
    mutations,
    actions,
};
